﻿
$(document).ready(
    $(function() {
            if ($("#mainCont")[0].hasChildNodes) {
                var c = $("#mainCont").load('/Authorization/Login');
                var mainChilds = $("#mainCont").children();
                var name = c.children("#fieldName");
                var role = c.children("#dropRole");
                var password = c.children("#fieldPassword");
            }
        }
    ));